
/* =========================================
   AQUAPURE – PREMIUM POOLSERVICE
   Eigenständiges Design für AquaPure
   Farben: Dunkelblau, Türkis und Weiß
   ========================================= */

/* ---------- GRUNDEINSTELLUNGEN ---------- */

:root {
    --pool-navy: #102b3f;
    --pool-blue: #176b87;
    --pool-turquoise: #35c6c8;
    --pool-light: #eaf9fa;
    --pool-white: #ffffff;
    --pool-text: #243746;
    --pool-muted: #687d8a;
    --pool-border: #dcebed;
    --pool-shadow: 0 12px 35px rgba(16, 43, 63, 0.09);
    --pool-radius: 16px;
    --pool-transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7fbfc;
    color: var(--pool-text);
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

section {
    padding: 80px 24px;
}

section[id] {
    scroll-margin-top: 90px;
}

.container,
.nav-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

/* ---------- HEADER UND NAVIGATION ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 43, 63, 0.97);
    color: var(--pool-white);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    flex-shrink: 0;
    color: var(--pool-white);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--pool-turquoise);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.nav-menu > a,
.more-toggle {
    color: #edfaff;
    font-size: 0.94rem;
    font-weight: 600;
    transition: color var(--pool-transition);
}

.nav-menu > a:hover,
.more-toggle:hover {
    color: var(--pool-turquoise);
}

/* ---------- SPRACHWAHL ---------- */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-btn {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
    color: var(--pool-white);
    font-size: 0.82rem;
    font-weight: 700;
    transition: all var(--pool-transition);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--pool-turquoise);
    border-color: var(--pool-turquoise);
    color: var(--pool-navy);
}

/* ---------- 3-PUNKTE-MENÜ ---------- */

.more-wrap {
    position: relative;
}

.more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    display: none;
    min-width: 205px;
    padding: 9px;
    border: 1px solid var(--pool-border);
    border-radius: 12px;
    background: var(--pool-white);
    box-shadow: var(--pool-shadow);
}

.more-menu.open {
    display: flex;
    flex-direction: column;
}

.more-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--pool-text);
    transition: background var(--pool-transition);
}

.more-menu a:hover {
    background: var(--pool-light);
    color: var(--pool-blue);
}

/* ---------- HAMBURGER-MENÜ ---------- */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
    color: var(--pool-white);
    font-size: 1.5rem;
}

/* ---------- HERO-BEREICH ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 24px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(53, 198, 200, 0.22),
            transparent 30%
        ),
        linear-gradient(135deg, #102b3f, #176b87);
    color: var(--pool-white);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 22px;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero p {
    max-width: 650px;
    margin: 0 0 30px;
    color: #e1f5f8;
    font-size: 1.12rem;
}

.hero h1 span,
.hero .highlight {
    color: var(--pool-turquoise);
}

/* ---------- BUTTONS ---------- */

.btn,
.button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 23px;
    border: 2px solid var(--pool-turquoise);
    border-radius: 10px;
    background: var(--pool-turquoise);
    color: var(--pool-navy);
    font-weight: 800;
    transition:
        transform var(--pool-transition),
        background var(--pool-transition),
        box-shadow var(--pool-transition);
}

.btn:hover,
.button:hover,
.cta-button:hover {
    transform: translateY(-2px);
    background: #62dddd;
    box-shadow: 0 8px 22px rgba(53, 198, 200, 0.23);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
    color: var(--pool-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--pool-white);
}

/* ---------- ÜBERSCHRIFTEN ---------- */

section h2 {
    margin: 0 0 18px;
    color: var(--pool-navy);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.2;
}

section h3 {
    color: var(--pool-navy);
    line-height: 1.3;
}

.section-intro,
.section-description {
    max-width: 720px;
    margin: 0 auto 38px;
    color: var(--pool-muted);
}

.section-title,
.text-center {
    text-align: center;
}

/* ---------- KARTEN UND LEISTUNGEN ---------- */

.services-grid,
.cards-grid,
.pricing-grid,
.examples-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card,
.card,
.pricing-card,
.example-card {
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--pool-border);
    border-radius: var(--pool-radius);
    background: var(--pool-white);
    box-shadow: var(--pool-shadow);
    transition:
        transform var(--pool-transition),
        box-shadow var(--pool-transition);
}

.service-card:hover,
.card:hover,
.pricing-card:hover,
.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16, 43, 63, 0.13);
}

.service-card h3,
.card h3,
.pricing-card h3,
.example-card h3 {
    margin-top: 0;
}

.service-card p,
.card p,
.pricing-card p,
.example-card p {
    color: var(--pool-muted);
}

/* ---------- PREISE ---------- */

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--pool-turquoise);
    background: linear-gradient(180deg, #ffffff, #f0fcfc);
}

.price {
    margin: 18px 0;
    color: var(--pool-blue);
    font-size: 2.2rem;
    font-weight: 800;
}

.pricing-card ul {
    padding-left: 20px;
}

.pricing-card li {
    margin: 8px 0;
}

/* ---------- HELLBLAUE ABSCHNITTE ---------- */

#about,
#services,
#examples,
#gallery {
    background: var(--pool-white);
}

#pricing,
#faq {
    background: var(--pool-light);
}

/* ---------- BILDER UND GALERIE ---------- */

.gallery-grid img,
.example-card img,
.service-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.gallery-grid img {
    aspect-ratio: 4 / 3;
    transition: transform var(--pool-transition);
}

.gallery-grid img:hover {
    transform: scale(1.025);
}

/* ---------- FAQ ---------- */

details,
.faq-item {
    margin: 12px 0;
    padding: 18px 22px;
    border: 1px solid var(--pool-border);
    border-radius: 12px;
    background: var(--pool-white);
}

summary {
    color: var(--pool-navy);
    font-weight: 700;
    cursor: pointer;
}

details p,
.faq-item p {
    color: var(--pool-muted);
}

/* ---------- FORMULARE ---------- */

form {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 7px;
    color: var(--pool-navy);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #cbdfe4;
    border-radius: 10px;
    outline: none;
    background: var(--pool-white);
    color: var(--pool-text);
    transition:
        border-color var(--pool-transition),
        box-shadow var(--pool-transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--pool-turquoise);
    box-shadow: 0 0 0 3px rgba(53, 198, 200, 0.17);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

/* ---------- NOTFALLBEREICH ---------- */

.emergency,
#emergency {
    background: var(--pool-navy);
    color: var(--pool-white);
}

.emergency h2,
#emergency h2,
.emergency h3,
#emergency h3 {
    color: var(--pool-white);
}

.emergency p,
#emergency p {
    color: #d7edf2;
}

/* ---------- FOOTER ---------- */

footer,
.footer {
    padding: 45px 24px 20px;
    background: #102b3f;
    color: #e8f0f5;
    margin-top: 60px;
}

.footer-container,
.footer .container {
    width: min(1120px, 100%);
    margin-inline: auto;
}

/* Logo und Beschreibung */
.footer-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 30px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo i {
    color: #35c6c8;
}

.footer-brand p,
.footer-main > p {
    color: #c4d4df;
    line-height: 1.7;
    margin-top: 12px;
}

/* Navigationslinks */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

footer a,
.footer a {
    color: #a9eeee;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover,
.footer a:hover {
    color: #ffffff;
}

/* Unterer Footer-Bereich */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    color: #c4d4df;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
}

.footer-back-link {
    color: #35c6c8;
    font-size: 13px;
    font-weight: 600;
}

/* Computer und größere Bildschirme */
@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .footer-links {
        max-width: 480px;
        justify-content: flex-end;
    }
}

/* Handys */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ---------- HILFSKLASSEN ---------- */

.text-muted {
    color: var(--pool-muted);
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none !important;
}

/* ---------- TABLET ---------- */

@media (max-width: 1000px) {
    .nav-container {
        gap: 14px;
    }

    .nav-menu {
        gap: 12px;
    }

    .nav-menu > a,
    .more-toggle {
        font-size: 0.86rem;
    }

    .services-grid,
    .cards-grid,
    .pricing-grid,
    .examples-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- MOBIL ---------- */

@media (max-width: 760px) {
    section {
        padding: 58px 18px;
    }

    .container,
    .nav-container {
        width: min(100% - 28px, 1120px);
    }

    .nav-container {
        min-height: 70px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo {
        font-size: 1.35rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 0 0 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > a {
        display: block;
        padding: 11px 12px;
        border-radius: 8px;
        font-size: 1rem;
    }

    .nav-menu > a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .more-wrap {
        width: 100%;
    }

    .more-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 11px 12px;
        font-size: 1rem;
    }

    .more-menu {
        position: static;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
    }

    .lang-switch {
        padding: 8px 12px 0;
    }

    .hero {
        padding: 78px 18px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .cards-grid,
    .pricing-grid,
    .examples-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .card,
    .pricing-card,
    .example-card {
        padding: 22px;
    }
}

/* ---------- KLEINE HANDYS ---------- */

@media (max-width: 380px) {
    .logo {
        font-size: 1.15rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn,
    .button,
    .cta-button {
        width: 100%;
    }
}

/* ---------- REDUZIERTE BEWEGUNG ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================================
   AQUAPURE – MENÜ-FIX FÜR HANDYS
   ========================================= */

@media (max-width: 760px) {
    .nav-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu .lang-switch {
        display: flex !important;
        flex-wrap: wrap;
    }

    .nav-menu .more-wrap {
        width: 100%;
    }

    .nav-menu .more-menu.open {
        display: flex !important;
        flex-direction: column;
    }
}

/* Drei-Punkte-Menü auf PC und Handy */

.more-wrap {
    position: relative;
}

.more-menu.open {
    display: flex !important;
    flex-direction: column;
}

.more-menu a {
    display: block;
}

/* Galerie-Bildplatzhalter */
.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e8eef2;
    border: 2px dashed #aabac5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #526777;
    font-size: 15px;
    font-weight: 600;
}

.gallery-large .image-placeholder {
    aspect-ratio: 16 / 9;
}